//
//  ILPALink.h
//  IMILabKit
//
//  Created by OrrHsiao on 2022/6/27.
//

#if (IMI_LAB_SDK)
#import <IMILabKit/ILBindDefine.h>
#import <IMILabKit/ILLinkObject.h>
#elif IMI_LAB_SDK_ALL
#import <IMILabSDK_All/IMILabSDK_All.h>
#else
#import "ILBindDefine.h"
#import <ILLinkObject.h>
#endif

NS_ASSUME_NONNULL_BEGIN

@interface ILPALink : ILLinkObject

/// 初始化方法
- (instancetype)init;

/// 绑定设备
- (void)linkDevice;

/// 停止绑定
- (void)stopLink;

/// 更新错误
/// @param code <#code description#>
/// @param subCode <#subCode description#>
/// @param canRetry <#canRetry description#>
- (void)updateLinkError:(ILBindError)code subCode:(NSInteger)subCode canRetry:(BOOL)canRetry;

/// 更新当前状态
/// @param mode <#mode description#>
/// @param subCode <#subCode description#>
- (void)updateBindMode:(ILLinkState)mode subCode:(NSInteger)subCode;

@end

NS_ASSUME_NONNULL_END
